<?xml version="1.0" encoding="ISO-8859-1" ?>

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui"
                template="/WEB-INF/templates/generaldashboard.xhtml">
        
        <ui:define name="title"><h:outputText value="ZeROSQUARE" /></ui:define>
        <ui:define name="header"><h:outputText value="ZeROSQUARE" /></ui:define>
        
        <ui:define name="account-name">
        <h:form id="DashboardForm">
                        
         <p:messages id="messages" />
                  
                  
                   <p:menuButton style="float:right;" value="Options" >  
				        <p:menuitem value="LogOut" action="signIn" update="messages" icon="ui-icon-disk"/>  
				        <p:menuitem value="Update" update="messages" icon="ui-icon-arrowrefresh-1-w"/>  
				        <p:menuitem value="Delete" icon="ui-icon-close" ajax="false"/>  
				        <p:separator />  
				        <p:menuitem value="Home" url="http://www.primefaces.org" icon="ui-icon-extlink"/>  
				   </p:menuButton> 
				   <p:commandButton id="logoutbutton" action="LogOut" update="messages" style="float:right;" icon="ui-icon-check" value="Logout" />
				   <p:commandButton id="homebutton" action="goHome" update="messages" style="float:right;" icon="ui-icon-check" value="Home" />
				   
		</h:form>
        </ui:define>
        <ui:define name="transhist">
        <p:messages id="messages" />
        <p:commandButton id="transhistbutton" action="showtrans" update="messages" style="float:left;" icon="ui-icon-disk" value="Transaction History" />
        </ui:define>
        
</ui:composition>